/**
 *
 * Access (ABM), 2017-2020, 单创.
 */
package com.tengju.user.application.archives.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 *
 * @author WenLei 2020年8月3日.
 */
@Data
@ApiModel(value = "UserLoginDTO", description = "用户登录参数对象")
public class UserLoginDTO implements Serializable {

    /** */
    private static final long serialVersionUID = 1L;
    
    @ApiModelProperty("用户账号")
    @NotEmpty(message = "用户账号不能为空")
    private String username;
    
    @ApiModelProperty("登录密码")
    @NotEmpty(message = "登录密码不能为空")
    private String pwd;

}
